package br.ufc.great.client;

import java.util.Vector;

/**
 * 
 * @author Leonardo Oliveira Moreira
 *
 * Classe que representa uma operação de consulta
 */
public class DTXQueryOperation extends DTXOperation {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7867947994806637382L;
	private String query;

	public DTXQueryOperation(String id, Vector<DTXSite> sites, String query) {
		super(id, sites, DTXOperation.QUERY);
		this.query = query;
	}

	/**
	 * Método que resgata a consulta configurada
	 * 
	 * @return
	 */
	public String getQuery() {
		return query;
	}
		
}
